type runtime.hchan
40 uses
runtime (current package)
chan.go#L29: hchanSize = unsafe.Sizeof(hchan{}) + uintptr(-int(unsafe.Sizeof(hchan{}))&(maxAlign-1))
chan.go#L33: type hchan struct {
chan.go#L60: func reflect_makechan(t *chantype, size int) *hchan {
chan.go#L64: func makechan64(t *chantype, size int64) *hchan {
chan.go#L72: func makechan(t *chantype, size int) *hchan {
chan.go#L92: var c *hchan
chan.go#L96: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L102: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L106: c = new(hchan)
chan.go#L122: func chanbuf(c *hchan, i uint) unsafe.Pointer {
chan.go#L130: func full(c *hchan) bool {
chan.go#L144: func chansend1(c *hchan, elem unsafe.Pointer) {
chan.go#L160: func chansend(c *hchan, ep unsafe.Pointer, block bool, callerpc uintptr) bool {
chan.go#L294: func send(c *hchan, sg *sudog, ep unsafe.Pointer, unlockf func(), skip int) {
chan.go#L357: func closechan(c *hchan) {
chan.go#L430: func empty(c *hchan) bool {
chan.go#L441: func chanrecv1(c *hchan, elem unsafe.Pointer) {
chan.go#L446: func chanrecv2(c *hchan, elem unsafe.Pointer) (received bool) {
chan.go#L457: func chanrecv(c *hchan, ep unsafe.Pointer, block bool) (selected, received bool) {
chan.go#L615: func recv(c *hchan, sg *sudog, ep unsafe.Pointer, unlockf func(), skip int) {
chan.go#L693: func selectnbsend(c *hchan, elem unsafe.Pointer) (selected bool) {
chan.go#L713: func selectnbrecv(elem unsafe.Pointer, c *hchan) (selected, received bool) {
chan.go#L718: func reflect_chansend(c *hchan, elem unsafe.Pointer, nb bool) (selected bool) {
chan.go#L723: func reflect_chanrecv(c *hchan, nb bool, elem unsafe.Pointer) (selected bool, received bool) {
chan.go#L728: func reflect_chanlen(c *hchan) int {
chan.go#L736: func reflectlite_chanlen(c *hchan) int {
chan.go#L744: func reflect_chancap(c *hchan) int {
chan.go#L752: func reflect_chanclose(c *hchan) {
chan.go#L802: func (c *hchan) raceaddr() unsafe.Pointer {
chan.go#L811: func racesync(c *hchan, sg *sudog) {
chan.go#L821: func racenotify(c *hchan, idx uint, sg *sudog) {
runtime2.go#L388: c *hchan // channel
select.go#L20: c *hchan // chan
select.go#L34: var c *hchan
select.go#L83: var lastc *hchan
select.go#L235: c *hchan
select.go#L518: func (c *hchan) sortkey() uintptr {
select.go#L527: ch *hchan // channel
stack.go#L813: var lastc *hchan
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |